<template>
	<Article @submit-article="handldSubmit" />
</template>

<script setup>
	import Article from '@/components/Article.vue'
	
	function handldSubmit(...args) {
		alert('是否确认提交文章？')
		console.log(args)
	}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
